<?php

namespace App\Modules\Post\Admin\Controllers;

use App\Modules\Post\Models\Post;
use Encore\Admin\Form;
use Encore\Admin\Grid;
use Encore\Admin\Show;
use Encore\Admin\Layout\Content;
use App\Admin\Controllers\BaseController;

class PostController extends BaseController
{
    protected $title = '文章管理';
    protected $desc = ['index' => '列表', 'edit' => '编辑', 'create' => '新建', 'show' => '详情'];

    public function __construct()
    {
        $this->module = get_module_by_class(get_class($this));
        $this->model = new Post();
    }

}
